package Models;

import java.util.Date;
import java.util.List;

import utils.Calcs;

public class BrewNote {
    private int brewNoteID;
    private Date hydrationStartTime;
    private Date hydrationStopTime;
    private double flowRate;
    private double hydrationTemp;
    private Date vorlauftStartTime;
    private Date vorlauftStopTime;
    private String vorlauftNotes;
    private double spargeBrix;
    private double preBoilVolume;
    private double preBoilBrix;
    private Date boilStartTime;
    private Date boilStopTime;
    private Date whirlPoolStopTime;
    private Date restStopTime;
    private Date knockOutStopTime;
    private double knockOutTemp;
    private double finalVolume;
    private double originalGravity;
    private double oxygenationCFM;
    private double mashpH;
    private double spargepH;
    private double boilpH;
    private int empID;
    private List<Equipment> equipment;
    private List<MashNotes> mashNoteCollection;
    private List<MaltNotes> maltNotes;
    private List<BoilHopNotes> boilHopNotes;
    private List<AdditiveNotes> additiveNotes;
    private List<SaltNotes> saltNotes;
    
	public int getBrewNoteID() {
		return brewNoteID;
	}
	public void setBrewNoteID(int brewNoteID) {
		this.brewNoteID = brewNoteID;
	}
	public Date getHydrationStartTime() {
		return hydrationStartTime;
	}
	public void setHydrationStartTime(Date hydrationStartTime) {
		this.hydrationStartTime = hydrationStartTime;
	}
	public Date getHydrationStopTime() {
		return hydrationStopTime;
	}
	public void setHydrationStopTime(Date hydrationStopTime) {
		this.hydrationStopTime = hydrationStopTime;
	}
	public double getFlowRate() {
		return flowRate;
	}
	public void setFlowRate(double flowRate) {
		this.flowRate = flowRate;
	}
	public double getHydrationTemp() {
		return hydrationTemp;
	}
	public void setHydrationTemp(double hydrationTemp) {
		this.hydrationTemp = hydrationTemp;
	}
	public Date getVorlauftStartTime() {
		return vorlauftStartTime;
	}
	public void setVorlauftStartTime(Date vorlauftStartTime) {
		this.vorlauftStartTime = vorlauftStartTime;
	}
	public Date getVorlauftStopTime() {
		return vorlauftStopTime;
	}
	public void setVorlauftStopTime(Date vorlauftStopTime) {
		this.vorlauftStopTime = vorlauftStopTime;
	}
	public String getVorlauftNotes() {
		return vorlauftNotes;
	}
	public void setVorlauftNotes(String vorlauftNotes) {
		this.vorlauftNotes = vorlauftNotes;
	}
	public double getSpargeBrix() {
		return spargeBrix;
	}
	public void setSpargeBrix(double spargeBrix) {
		this.spargeBrix = spargeBrix;
	}
	public double getPreBoilVolume() {
		return preBoilVolume;
	}
	public void setPreBoilVolume(double preBoilVolume) {
		this.preBoilVolume = preBoilVolume;
	}
	public double getPreBoilBrix() {
		return preBoilBrix;
	}
	public void setPreBoilBrix(double preBoilBrix) {
		this.preBoilBrix = preBoilBrix;
	}
	public Date getBoilStartTime() {
		return boilStartTime;
	}
	public void setBoilStartTime(Date boilStartTime) {
		this.boilStartTime = boilStartTime;
	}
	public Date getBoilStopTime() {
		return boilStopTime;
	}
	public void setBoilStopTime(Date boilStopTime) {
		this.boilStopTime = boilStopTime;
	}
	public Date getWhirlPoolStopTime() {
		return whirlPoolStopTime;
	}
	public void setWhirlPoolStopTime(Date whirlPoolStopTime) {
		this.whirlPoolStopTime = whirlPoolStopTime;
	}
	public Date getRestStopTime() {
		return restStopTime;
	}
	public void setRestStopTime(Date restStopTime) {
		this.restStopTime = restStopTime;
	}
	public Date getKnockOutStopTime() {
		return knockOutStopTime;
	}
	public void setKnockOutStopTime(Date knockOutStopTime) {
		this.knockOutStopTime = knockOutStopTime;
	}
	public double getKnockOutTemp() {
		return knockOutTemp;
	}
	public void setKnockOutTemp(double knockOutTemp) {
		this.knockOutTemp = knockOutTemp;
	}
	public double getFinalVolume() {
		return finalVolume;
	}
	public void setFinalVolume(double finalVolume) {
		this.finalVolume = finalVolume;
	}
	public double getOriginalGravity() {
		return originalGravity;
	}
	public void setOriginalGravity(double originalGravity) {
		if(((double)originalGravity < 1.200)&&((double)originalGravity != 0)){
            this.originalGravity = (double)Calcs.specificGravityToPlato(originalGravity);
        } else {
            this.originalGravity = originalGravity;
        }
	}
	public double getOxygenationCFM() {
		return oxygenationCFM;
	}
	public void setOxygenationCFM(double oxygenationCFM) {
		this.oxygenationCFM = oxygenationCFM;
	}
	public double getMashpH() {
		return mashpH;
	}
	public void setMashpH(double mashpH) {
		this.mashpH = mashpH;
	}
	public double getSpargepH() {
		return spargepH;
	}
	public void setSpargepH(double spargepH) {
		this.spargepH = spargepH;
	}
	public double getBoilpH() {
		return boilpH;
	}
	public void setBoilpH(double boilpH) {
		this.boilpH = boilpH;
	}
	public int getEmpID() {
		return empID;
	}
	public void setEmpID(int empID) {
		this.empID = empID;
	}
	public List<Equipment> getEquipment() {
		return equipment;
	}
	public void setEquipment(List<Equipment> equipment) {
		this.equipment = equipment;
	}
	public List<MashNotes> getMashNoteCollection() {
		return mashNoteCollection;
	}
	public void setMashNoteCollection(List<MashNotes> mashNoteCollection) {
		this.mashNoteCollection = mashNoteCollection;
	}
	public List<MaltNotes> getMaltNotes() {
		return maltNotes;
	}
	public void setMaltNotes(List<MaltNotes> maltNotes) {
		this.maltNotes = maltNotes;
	}
	public List<BoilHopNotes> getBoilHopNotes() {
		return boilHopNotes;
	}
	public void setBoilHopNotes(List<BoilHopNotes> boilHopNotes) {
		this.boilHopNotes = boilHopNotes;
	}
	public List<AdditiveNotes> getAdditiveNotes() {
		return additiveNotes;
	}
	public void setAdditiveNotes(List<AdditiveNotes> additiveNotes) {
		this.additiveNotes = additiveNotes;
	}
	public List<SaltNotes> getSaltNotes() {
		return saltNotes;
	}
	public void setSaltNotes(List<SaltNotes> saltNotes) {
		this.saltNotes = saltNotes;
	}

}
